package com.cskaoyan.catmall.model.pojo.keyword;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 创建日期: 2022/01/07 22:07
 *
 * @author WangZhe
 * 备注:
 */
@Data
@NoArgsConstructor
public class KeywordPojo {

    @JsonProperty("id")
    private Integer id;

    @JsonProperty("keyword")
    private String keyword;

    @JsonProperty("url")
    private String url;

    @JsonProperty("isHot")
    private Boolean isHot;

    @JsonProperty("isDefault")
    private Boolean isDefault;

    @JsonProperty("sortOrder")
    private Integer sortOrder;

    @JsonProperty("addTime")
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String addTime;

    @JsonProperty("updateTime")
    private String updateTime;

    @JsonProperty("deleted")
    private Boolean deleted;

}
